package main

import (
	"fmt"
)

func main() {

	var a string
	fmt.Scanln(&a)
}

//
//func OutPutVideo(inPutFilePath string, outPutFilePath string) {
////writeUvr5InputButtonContent([] int{0,8,3},[] int{2,0,0},inPutFilePath,false)
////writeUvr5InputButtonContent([] int{0,8,1},[] int{2},outPutFilePath,false)
//uvr5BindPara := BindPara{
//Display: "normal",
//Mouse:   "dx",
//Keypad:  "normal",
//Public:  "",
//Mode:    0,
//}
//exploreBindPara := BindPara{
//Display: "normal",
//Mouse:   "windows3",
//Keypad:  "windows",
//Public:  "",
//Mode:    0,
//}
//inputButtonHwnd := Hwnd{ClassName: "TkTopLevel", Title: "Ultimate Vocal Remover", HasBindPre: &uvr5HasBind, WindowOrder: []int{0, 8, 3}, BindPara: uvr5BindPara, Dm: dm.GetDm("uvr5")}
//inputSelectFilePathHwnd := Hwnd{ClassName: "#32770", Title: "Select Music Files", HasBindPre: &exploreHasBind, WindowOrder: []int{2, 0, 0}, BindPara: exploreBindPara, Dm: dm.GetDm("exploreInput")}
//inputSelectEnsureFilePathHwnd := Hwnd{ClassName: "#32770", Title: "Select Music Files", HasBindPre: &exploreHasBind, WindowOrder: []int{3}, BindPara: exploreBindPara, Dm: dm.GetDm("exploreInput")}
//writeUvr5ButtonContent(inputButtonHwnd, inputSelectFilePathHwnd, inputSelectEnsureFilePathHwnd, inPutFilePath)
//outputButtonHwnd := Hwnd{ClassName: "TkTopLevel", Title: "Ultimate Vocal Remover", HasBindPre: &uvr5HasBind, WindowOrder: []int{0, 8, 1}, BindPara: uvr5BindPara, Dm: dm.GetDm("uvr5")}
//outputSelectFilePathHwnd := Hwnd{ClassName: "#32770", Title: "Select Folder", HasBindPre: &exploreHasBind, WindowOrder: []int{2}, BindPara: exploreBindPara, Dm: dm.GetDm("exploreOutput")}
//outputSelectEnsureFilePathHwnd := Hwnd{ClassName: "#32770", Title: "Select Folder", HasBindPre: &exploreHasBind, WindowOrder: []int{3}, BindPara: exploreBindPara, Dm: dm.GetDm("exploreOutput")}
//writeUvr5ButtonContent(outputButtonHwnd, outputSelectFilePathHwnd, outputSelectEnsureFilePathHwnd, outPutFilePath)
//var a string
//fmt.Scan(&a)
//}
//
//type BindPara struct {
//Display string
//Mouse   string
//Keypad  string
//Public  string
//Mode    int
//}
//type Hwnd struct {
//hwnd        int
//ClassName   string
//Title       string
//WindowOrder []int
//BindPara    BindPara
//HasBindPre  *bool
//Dm          *dm.DmSoft
//}
//
//func (com Hwnd) getHwnd() int {
//if 0 != com.hwnd {
//return com.hwnd
//}
//hwnd := com.Dm.GetTargetWindow(com.ClassName, com.Title, com.WindowOrder)
//com.hwnd = hwnd
//log.Println("Hwnd: ", com)
//return hwnd
//}
//
//func (com Hwnd) SwitchBindWindowEx() {
//if true == *com.HasBindPre {
//com.Dm.SwitchBindWindow(com.getHwnd())
//log.Println("getLastError: ", com.Dm.GetLastError())
//time.Sleep(500 * time.Microsecond)
//return
//}
//com.Dm.RegisterBindWindow(com.getHwnd(), com.BindPara.Display, com.BindPara.Mouse, com.BindPara.Keypad, com.BindPara.Public, com.BindPara.Mode)
//*com.HasBindPre = true
//time.Sleep(500 * time.Microsecond)
//}
//
////func writeUvr5InputButtonContent(buttonHwndOrder []int,selectFilePathHwndOrder []int, content string,hasBind bool){
////	mainDm := dm.GetDm("main")
////
////	buttonHwnd :=mainDm.GetTargetWindow("TkTopLevel","Ultimate Vocal Remover",buttonHwndOrder)
////	selectFilePathHwnd:=mainDm.GetTargetWindow("#32770","Select Music Files",selectFilePathHwndOrder)
////	if hasBind{
////		switchRet:=mainDm.SwitchBindWindow(buttonHwnd)
////		log.Println("fileNameEditHwnd,SwitchRet: ", buttonHwnd,switchRet)
////	} else {
////		mainDm.RegisterBindWindow(buttonHwnd)
////	}
////	time.Sleep(2*time.Second)
////	//点击input 按钮
////	mainDm.MoveAndLeftClick(10,10)
////	time.Sleep(1*time.Second)
////
////	////切换至输入框
////	switchRet := mainDm.SwitchBindWindow(selectFilePathHwnd)
////	log.Println("fileNameEditHwnd,SwitchRet: ",selectFilePathHwnd,switchRet)
////	mainDm.SendString(selectFilePathHwnd,content)
////	time.Sleep(500*time.Microsecond)
////
////	////切换至确认框
////	fileNameEditEnsureHwnd:=mainDm.GetTargetWindow("#32770","Select Music Files",[]int{3})
////	switchRet = mainDm.SwitchBindWindow(fileNameEditEnsureHwnd)
////	log.Println("fileNameEditEnsureHwnd,SwitchRet: ",fileNameEditEnsureHwnd,switchRet)
////	mainDm.MoveAndLeftClick(10,10)
////	log.Println("content: ",content)
////}
//
//func writeUvr5ButtonContent(buttonHwnd Hwnd, selectFilePathHwnd Hwnd, selectFileEnsurePathHwnd Hwnd, content string) {
//buttonHwnd.SwitchBindWindowEx()
//time.Sleep(2 * time.Second)
////点击input 按钮
//buttonHwnd.Dm.MoveAndLeftClick(10, 10)
//time.Sleep(1 * time.Second)
//x, y := buttonHwnd.Dm.GetCursorPos()
//log.Println("GetCursorPos: ", x, y)
//time.Sleep(1 * time.Second)
//
//////切换至输入框 | mark: 此步在切换输出框时出错
//selectFilePathHwnd.SwitchBindWindowEx()
//selectFilePathHwnd.Dm.SendString(selectFilePathHwnd.getHwnd(), content)
//time.Sleep(500 * time.Microsecond)
//
//////切换至确认框
//selectFileEnsurePathHwnd.SwitchBindWindowEx()
//selectFileEnsurePathHwnd.Dm.MoveAndLeftClick(10, 10)
//x, y = buttonHwnd.Dm.GetCursorPos()
//log.Println("GetCursorPos,content: ", x, y, content)
//
//exploreHasBind = false
//}
